<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>注册 - FinalCMS Admin</title>

<meta name="description" content="User login page" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

<link rel="stylesheet" href="${ctx}/css/bootstrap.min.css" />
<link rel="stylesheet" href="${ctx}/css/font-awesome.min.css" />
<!-- text fonts -->
<link rel="stylesheet" href="${ctx}/css/fc-fonts.css" />
<!-- ace styles -->
<link rel="stylesheet" href="${ctx}/css/fc.min.css" />

<!--[if lte IE 9]>
	<link rel="stylesheet" href="${ctx}/css/fc-part2.min.css" />
<![endif]-->
<link rel="stylesheet" href="${ctx}/css/fc-rtl.min.css" />

<!--[if lte IE 9]>
  <link rel="stylesheet" href="${ctx}/css/fc-ie.min.css" />
<![endif]-->

<!--[if lt IE 9]>
<script src="${ctx}/js/html5shiv.js"></script>
<script src="${ctx}/js/respond.min.js"></script>
<![endif]-->
</head>

<body class="login-layout">
<div class="main-container">
	<div class="main-content">
		<div class="row">
			<div class="col-sm-10 col-sm-offset-1">
				<div class="login-container">
					<div class="center">
						<h1>
							<i class="ace-icon fa fa-leaf green"></i>
							<span class="red">FinalCMS</span>
							<span class="white" id="id-text2">Application</span>
						</h1>
						<h4 class="blue" id="id-company-text">&copy; My Company</h4>
					</div>
					<div class="space-6"></div>

					<div class="position-relative">
						<div id="signup-box" class="signup-box widget-box no-border visible">
							<div class="widget-body">
								<div class="widget-main">
									<h4 class="header green lighter bigger">
										<i class="ace-icon fa fa-users blue"></i>
										新用户注册
									</h4>

									<div class="space-6"></div>
									<?if(error!"" == ""){?>
									<p id="_msg"> 输入您的注册信息: </p>
									<?}else{?>
									<p id="_msg" class="alert alert-block alert-danger"> ${error!""} </p>
									<?}?>
									<form id="regist" action="/admin/regist" method="post">
										<fieldset>
											<label class="block clearfix">
												<span class="block input-icon input-icon-right">
													<input type="text" id="username" name="username" class="form-control" placeholder="用户名" />
													<i class="ace-icon fa fa-envelope"></i>
												</span>
											</label>

											<label class="block clearfix">
												<span class="block input-icon input-icon-right">
													<input type="text" id="passwd" name="passwd" class="form-control" placeholder="密码" />
													<i class="ace-icon fa fa-lock"></i>
												</span>
											</label>


											<label class="block">
												<input type="checkbox" id="accept" name="accept" class="ace" />
												<span class="lbl">
													接受<a href="#">用户协议</a>
												</span>
											</label>

											<div class="space-24"></div>
											<div class="clearfix">
												<button type="reset" class="width-30 pull-left btn btn-sm">
													<i class="ace-icon fa fa-refresh"></i>
													<span class="bigger-110">清空</span>
												</button>

												<button type="button" id="regBtn" class="width-65 pull-right btn btn-sm btn-success">
													<span class="bigger-110">提交</span>
													<i class="ace-icon fa fa-arrow-right icon-on-right"></i>
												</button>
											</div>
										</fieldset>
									</form>
								</div>
							</div>
						</div>
					</div><!-- /.position-relative -->

					<div class="navbar-fixed-top align-right">
						<a id="btn-login-dark" href="#">暗色</a>|<a id="btn-login-blur" href="#">渐进</a>|<a id="btn-login-light" href="#">亮色</a>
					</div>
				</div>
			</div><!-- /.col -->
		</div><!-- /.row -->
	</div><!-- /.main-content -->
</div><!-- /.main-container -->

<!--[if !IE]> -->
<script type="text/javascript">
	window.jQuery || document.write("<script src='${ctx}/js/jquery2.1.0.min.js'>"+"<"+"/script>");
</script>
<!-- <![endif]-->

<!--[if IE]>
<script type="text/javascript">
 	window.jQuery || document.write("<script src='${ctx}/js/jquery1.11.0.min.js'>"+"<"+"/script>");
</script>
<![endif]-->

<!-- inline scripts related to this page -->
<script type="text/javascript" src="${ctx}/js/admin/fc.login.js"></script>
</body>
</html>
